const EventEmitter=require("events")
var event=new EventEmitter
// event.on("hello",function(data){
// console.log(data)
// })
// event.emit("hello","hello")
function handle(data){
    console.log(data)
}
event.on("aaa",handle)
event.emit("aaa","hello")
event.off("aaa",handle)
event.emit("aaa","hello")